#include <cstdio>
#include <iostream>

using namespace std;

class PrintData {
  public:
    void print(int i) { cout << "integer is " << i << endl; }

    void print(double i) { cout << "double is " << i << endl; }

    void print(char c[]) { cout << "char is " << c << endl; }
};

int main(void) {
    PrintData pd;

    pd.print(5);
    pd.print(500.263);

    char c[] = "Hello C++";
    pd.print(c);

    return 0;
}
